package com.pickup.netty.message;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class GroupMessage implements Serializable {

    private static final long serialVersionUID = 3615169684195799175L;

    private String receiverId;        // 接受者的Id
    private String senderId;          // 发送者的d
    private String singleId;          // 单个的Id
    private String msg;               // 聊天内容
    private String msgId;             // 用于消息的签收
    private byte[] msgForByte;        // 字节内容
    private String msgType;           // 内容类型,图片,文字,字节
}
